package cn.jskyme.mongo;

import javax.persistence.Id;

public class MongoDbUser {

	public MongoDbUser(String string, String string2, int i, String string3) {
		
	}

	@Id
	private long id;

	private String name;
	private boolean sex;
	private int age;
	private String address;

	public MongoDbUser() {
	}

	public MongoDbUser(long id, String name, boolean sex, int age,
			String address) {
		super();
		this.id = id;
		this.name = name;
		this.sex = sex;
		this.age = age;
		this.address = address;
	}

	// getter、setter

	@Override
	public String toString() {
		return this.id + "#" + this.name + "#" + this.age + "#" + this.sex
				+ "#" + this.address;
	}
}
